// js/gameLogic.js
import { Player } from './player.js';
import { Enemy } from './enemy.js';
import * as Combat from './combatSystem.js';
import { gameState } from './state.js';

export function initGame() {
    Player.init();
    Enemy.init(gameState.currentLayer);
}

export function gameLoop() {
    Combat.autoAttack();
    Player.heal();
}